package com.ve.downloader;

import java.io.IOException;

public interface SerialInterface {
    void setBaudrate(int baudrate);

    int getBaudrate();

    int read(byte[] buff, int size);

    void write(byte[] bytes)throws IOException;

    void setParity(boolean parity);

    byte[] read(int size);


}
